package cn.com.surker.enums.production.invoice;

import cn.com.surker.enums.ICodeDescEnum;

/**
 * 发货单生产类型
 *
 * @author luotao
 * @date 2024/9/30
 */
public enum InvoiceCreateTypeEnum implements ICodeDescEnum {

	AUTOMATIC(0, "派单生产"),             //	工控机派单生产
	MOVEMENT(1, "手动票"),                //	手动在erp上创建,没有创建数据
	EMPTY_TICKET(2, "配额票"),            //	即空票
	TRAN(3, "整车转料"),
	INCREMENT(4, "增量票"),                //	用于税务体系的展示数据,不做结算
	OLD_ERP(5, "同步老ERP来"),
	// CON_MOVEMENT_AUTO(6, "派单生产"),        				 //	工控机生产,自动同步
	CON_MOVEMENT_LINK(7, "工控生产"),      //	工控机生产,手动关联
	;

	private final String description;

	private final Integer code;

	InvoiceCreateTypeEnum(Integer code, String description) {
		this.description = description;
		this.code = code;
	}


	@Override
	public String getDescription() {
		return description;
	}

	@Override
	public Integer getCode() {
		return code;
	}
}
